xdoclet.util.predicates
Interface PredicateFactory

All Known Implementing Classes:
SimplePredicateFactory

public interface PredicateFactory

Factory that creates Predicate instances based on names.

Author:
Aslak Hellesøy
See Also:
Predicate

Method Summary
 Predicate createPredicate(String name)
          Creates a Predicate by name.
 

Method Detail

createPredicate

public Predicate createPredicate(String name)
                          throws PredicateException
Creates a Predicate by name.

Parameters:
name - a logical name for a predicate
Returns:
An instance of Predicate
Throws:
PredicateException - If there is no registered Predicate for name.


Copyright © 2000-2003 XDoclet Team. All Rights Reserved.